/**
 *
 * @description:
 * @author: junyong.hong
 * @createTime: 2018/5/11
 * @version: 1.0.0.0
 * @history:
 *    1、
 *    2、
 *
 */
import createApp from './create-app'
import bus from './util/bus'

const { app, router } = createApp()

// 跳转到登录页
bus.$on('auth', () => {
  router.push('./login')
})

router.onReady(() => {
  app.$mount('#root')
})
